package cn.sq.musicserver.playlist.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 歌曲播放列表
 * </p>
 *
 * @author SQ
 * @since 2020-12-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SQ_Play")
@ApiModel(value="SqPlay对象", description="歌曲播放列表")
public class SqPlay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "playUUID",type = IdType.ASSIGN_UUID)
    private String playUUID;

    @ApiModelProperty(value = "歌单名称")
    @TableField("PlayName")
    private String PlayName;

    @ApiModelProperty(value = "歌单所属人id")
    @TableField("UserUUID")
    private String UserUUID;

    @ApiModelProperty(value = "歌单封面图")
    @TableField("PlayImage")
    private String PlayImage;

    @ApiModelProperty(value = "歌单描述")
    @TableField("PlayDescribe")
    private String PlayDescribe;

    @ApiModelProperty(value = "歌单排序")
    @TableField("PlayIndex")
    private String PlayIndex;

    @ApiModelProperty(value = "是否允许删除")
    @TableField("NotAllowDEL")
    private Integer NotAllowDEL;

    @ApiModelProperty(value = "歌单创建时间")
    @TableField("PlayTime")
    private LocalDateTime PlayTime;





}
